package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 简单触发器的信息表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Qrtz_simple_triggers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 调度名称
     */
    @TableId(value = "sched_name", type = IdType.AUTO)
    private String sched_name;

    /**
     * qrtz_triggers表trigger_name的外键
     */
    private String trigger_name;

    /**
     * qrtz_triggers表trigger_group的外键
     */
    private String trigger_group;

    /**
     * 重复的次数统计
     */
    private Long repeat_count;

    /**
     * 重复的间隔时间
     */
    private Long repeat_interval;

    /**
     * 已经触发的次数
     */
    private Long times_triggered;


    public String getSched_name() {
        return sched_name;
    }

    public void setSched_name(String sched_name) {
        this.sched_name = sched_name;
    }

    public String getTrigger_name() {
        return trigger_name;
    }

    public void setTrigger_name(String trigger_name) {
        this.trigger_name = trigger_name;
    }

    public String getTrigger_group() {
        return trigger_group;
    }

    public void setTrigger_group(String trigger_group) {
        this.trigger_group = trigger_group;
    }

    public Long getRepeat_count() {
        return repeat_count;
    }

    public void setRepeat_count(Long repeat_count) {
        this.repeat_count = repeat_count;
    }

    public Long getRepeat_interval() {
        return repeat_interval;
    }

    public void setRepeat_interval(Long repeat_interval) {
        this.repeat_interval = repeat_interval;
    }

    public Long getTimes_triggered() {
        return times_triggered;
    }

    public void setTimes_triggered(Long times_triggered) {
        this.times_triggered = times_triggered;
    }

    @Override
    public String toString() {
        return "Qrtz_simple_triggers{" +
        "sched_name=" + sched_name +
        ", trigger_name=" + trigger_name +
        ", trigger_group=" + trigger_group +
        ", repeat_count=" + repeat_count +
        ", repeat_interval=" + repeat_interval +
        ", times_triggered=" + times_triggered +
        "}";
    }
}
